package com.springdoor.wx.api.service;

import com.springdoor.wx.api.entity.SprdGoodsBuyCart;

import java.util.List;
import java.util.Map;

public interface SprdGoodsBuyCartService {

    public Map<String, Object> findListByUserId(Long userId);

    public Integer findBuyCartNum(Long userId);

    public int insertSprdGoodsBuyCart(SprdGoodsBuyCart sprdGoodsBuyCart);

    public int updateSprdGoodsBuyCart(SprdGoodsBuyCart sprdGoodsBuyCart);

    public int updateBuyCartStatus(SprdGoodsBuyCart sprdGoodsBuyCart);

    public int deleteSprdGoodsBuyCartByUserId(Long userId);

    public int updateStoreSelStatus(SprdGoodsBuyCart sprdGoodsBuyCart);

    public int updateGoodsSelStatus(SprdGoodsBuyCart sprdGoodsBuyCart);

    public int updateAllGoodsSelStatus(SprdGoodsBuyCart sprdGoodsBuyCart);

    public int updateGoodsQuantity(SprdGoodsBuyCart sprdGoodsBuyCart);
}
